#!/bin/bash
tmp_root_dir=$PWD
echo "==============================================="
echo -e "      \e[41mOne Key Comple MicroPython Firmware\e[0m"
echo "==============================================="
echo ""
echo -e "\e[32mCompiling firmware...\e[0m"
source ~/.profile
cd $tmp_root_dir
cd micropython/mpy-cross && make && cd $tmp_root_dir
cd micropython/ports/esp32 && make
